﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ProfileContactType.cs" company="DissingNelleman">
//   
// All rights reserved. </copyright>
// <summary>
//   The profile contact type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace ServiceLibrary.Models.Domain
{
    using NHibernate.Mapping.ByCode.Conformist;

    using ServiceLibrary.Models.Base;

    /// <summary>
    /// The profile contact type.
    /// </summary>
    public class ProfileContactType : Entity
    {
        #region Public Properties

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        public virtual string Type { get; set; }

        #endregion
    }

    /// <summary>
    /// The profile contact type mapping.
    /// </summary>
    public class ProfileContactTypeMapping : ClassMapping<ProfileContactType>
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ProfileContactTypeMapping"/> class.
        /// </summary>
        public ProfileContactTypeMapping()
        {
            this.Property(x => x.Type);
        }

        #endregion
    }
}